import { get } from "../mock";

import request from "@/utils/request";
import { AxiosPromise } from "axios";
import {
  ScoreComForms,
  ScoreComQuery,
  ScoreComPageVO,
  ScoreComPageResult,
} from "./types";

/**
 * 获取分页数据
 *
 * @param queryParams
 */
export function getScoreComPage(
  queryParams?: ScoreComQuery
): AxiosPromise<ScoreComPageResult> {
  return request({
    url: "/api/work/workInfoPage",
    method: "get",
    params: queryParams,
  });
}
